﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Spinning.Spinning.Unitity.Storage
{
    public class StageScoreData
    {
        public StageScoreData() 
        {
            //InitData();
        }

        int _score;

        public int Time
        {
            get;
            set;
        }

        public int Score
        {
            get 
            {
                return _score;
            }
            set 
            {
                _score = value;
            }
        }

        public void AddScore(int s)
        {
            _score = _score + s;
        }

        public int Speed
        {
            get;
            set;
        }

        public int Bouns
        {
            get;
            set;
        }

        public bool isWin
        {
            get;
            set;
        }

        public bool isBossStage
        {
            get;
            set;
        }

        public bool isBattle
        {
            get;
            set;
        }

        public int StageNumber
        {
            get;
            set;
        }

        public void InitData() 
        {
            Time = 0;
            Score = 0;
            Speed = 0;
            Bouns = 0;
            isWin = true;
            isBattle = false;
        }
    }
}
